
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
<head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="${pageContext.request.contextPath}/ExamSystem/css/regiter.css" rel="stylesheet"/>
    <script language="JavaScript" src="${pageContext.request.contextPath}/ExamSystem/js/regiter.js" ></script>
    <title>登录</title>
</head>


<body onload="changeImg()">
<div class="main_bar">
    <div id="login_form">
        <div class="title">
            考试系统
        </div>
        <form action="${pageContext.request.contextPath}/RegitsterServlet" method="post" onSubmit="return check()">
            <div id="form_widget">
                <br>
                <span style="background: red; margin-left:15%;">${message}</span>
                <input type="text" placeholder="请输入账号" name="ipt_name" id="ipt_name" class="txt" value="" />
                <br>
                <input type="password" placeholder="请输入密码" name="ipt_pass" id="ipt_pass" class="txt" value=""/>
                <br>
                <input type="text" id="vcode" placeholder="验证码" value="" />
                <span id="code" title="看不清，换一张" onclick="changeImg()"></span>
                <div id="search_pass_link">
                    <a href="${pageContext.request.contextPath}/ExamSystem/techweb/forgetPassword.jsp">忘记密码？</a>
                </div>
                <input  type="submit" value="登录" class="btn">
                <br>
                <div id="copyright">
                    Power By YMZ &copy;CopyRight 2019
                </div>
            </div>
        </form>
    </div>
</div>
</body>


</html>
